action

abstract fun action(browser: Browser): Optional<ExtensionAction>

Returns the extension action for the given browser or an empty Optional if the extension does not have an action.

Parameters

browser

the browser associated with the extension action

Throws

when this extension has been uninstalled